//
//  UIHelper.h
//  YImage
//
//  Created by bing on 16/3/11.
//  Copyright © 2016年 bing. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIHelper : NSObject

+ (UIImage *)createImageWithColor:(UIColor *)color;

+ (UIColor *)getColorFromRGB:(int)rgbValue;

+ (UIColor *)getColorFromRGB:(int)rgbValue alpha:(CGFloat)alpha;

+ (void)initNavicationViewCommonUI:(UIViewController *)viewController;

+ (void)initNavicationViewTransparentUI:(UIViewController *)viewController;


#pragma mark - HUD

+ (void)showTextHUD:(NSString *)prompt;

+ (void)showLoadingHUD;

+ (void)hideHUD;


#pragma mark UIimage

+ (void)addShadowAsInverseToView:(UIView *)view;

+ (void)addBlurViewToView:(UIView *)view;

@end
